<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title>查询条件</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="/css/mui.css" rel="stylesheet" />
		<script src="/js/jquery-3.4.1.min.js"></script>
	</head>

	<body>
		<style>
			.chaxunxuzhibox{
				display: flex;
				flex-direction: column;
				height: 94%;
				margin: 0 auto;
				box-shadow: 0 3px 13px rgba(0,0,0,.16);
				overflow: hidden;
				background-color: #fff;
				box-sizing: border-box;
				border-radius: 9px;
				margin:30px;
				padding:20px 0;
			}
			.title{
				padding-left:20px;
				line-height:40px;
				overflow: hidden;
			}
			.text_wz{
				margin:20px;
				color: #000;
			}
			.cha5box{
				margin:10px 20px 10px 20px;
				color:#0d2f90;
				overflow: hidden;
			}
			.cha5box div{
				padding-right: 17px;
				width: 80px;
				float:left;
				line-height:40px;
			}
			.cha5box input,select{
				float:left;
				color:#b7b7b7;
				background: #f2f6fe;
				border:0;
				margin:0;
				width:70%;
			}
			.cha5box button{
				margin:20px;
				background: #f2f6fe;
				color: #0d2f90;
				box-shadow: 0 2px 3px rgba(0,0,0,.16);
				font-weight: 700;
				width:88%;
				border:0;
				height:45px;
				font-size:18px;
			}
		</style>
		<div class="chaxunxuzhibox">
			
			<div class="cha5box">
				<div>姓  名</div>
				<input type="text" disabled="disabled" value="{{$data->name}}" >
			</div>
			<div class="cha5box">
				<div>身份证号</div>
				<input type="text" disabled="disabled" value="{{$data->no}}">
			</div>
			<div class="cha5box">
				<div>查询用途</div>
				<select id="yongtu">
					<option value="缴税">缴税</option>
					<option value="提取公积金">提取公积金</option>
					<option value="户口迁移">户口迁移</option>
					<option value="子女入学">子女入学</option>
					<option value="其他">其他</option>
				</select>
			</div>
			<div class="cha5box">
				<button class="dianji">查询</button>
			</div>
			
		</div>
	</body>
	<script>
	$(function(){
		var id = '{{$data->id}}';
		$(".dianji").click(function(){
			var yongtu = $('#yongtu').val()
			console.log(yongtu)
			window.location.href = 'cha6?id='+id+'&yongtu='+yongtu
		})
	})
	</script>
</html>